micro_utils.dokka
0.9.2
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[jvm]EitherSerializer
Either
Serializer
jvm
class
EitherSerializer
<
T1
,
T2
>
(
t1Serializer
:
KSerializer
<
T1
>
,
t2Serializer
:
KSerializer
<
T2
>
)
:
KSerializer
<
Either
<
T1
,
T2
>
>
Content copied to clipboard
Functions
Properties
Functions
deserialize
Link copied to clipboard
jvm
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
Either
<
T1
,
T2
>
Content copied to clipboard
serialize
Link copied to clipboard
jvm
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
Either
<
T1
,
T2
>
)
Content copied to clipboard
Properties
descriptor
Link copied to clipboard
jvm
open
override
val
descriptor
:
SerialDescriptor
Content copied to clipboard